package cn.flying.cloud.demo.endofday.steps.s1100;


import org.springframework.batch.item.ItemWriter;
import org.springframework.stereotype.Component;

import java.util.List;

import cn.flying.cloud.demo.endofday.model.Employee;

/**
 *
 * @author: admin
 * @date: 2024年01月12日 15:34
 * @version: 1.0
 */
@Component
public class W1100Writer implements ItemWriter<Employee> {

    @Override
    public void write(List<? extends Employee> list) throws Exception {
        for (Employee item : list) {
            System.out.println(item);
        }
    }
}